MyExceptionOccurred
Indicates that an exception occurred. When instantiating an AWT context, you must designate a callback function to notify that an exception has occurred. For example, this is how you would define your exception notification function if you were to name it MyExceptionOccurred:
void MyExceptionOccurred ( JMAWTContextRef context, const char* exceptionName, const char* exceptionMsg, const char* stackTrace);
context
- The AWT context in which the exception occurred.
exceptionName
- The name of the exception.
exceptionMsg
- The exception message to display. This value is not guaranteed to be present and may be
null
.stackTrace
- A string containing information about the call chain where the exception occurred. This value is not guaranteed to be present and may be
null
.DISCUSSION
You cannot use this function to recover from the exception; this function indicates only that an exception has occurred.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help